export const getBtnList = (type: string) => {
  const btnlist = <any>{
    '1': [
      {
        name: '获取货源供应商',
        type: 'inlist1',
        typeChange: 'inlist1',
        func: () => {
          return Promise.resolve();
        },
      },
      {
        name: '生成询价单',
        type: 'inlist2',
        typeChange: 'inlist2',
        func: () => {
          return Promise.resolve();
        },
      },
      {
        name: '撤销询价',
        type: 'inlist3',
        typeChange: 'inlist3',
        func: () => {
          return Promise.resolve();
        },
      },
    ],
    '2': [],
  };
  return btnlist[`${type}`];
};

export default null;
